import java.io.BufferedReader;

//TODO: Merge with CompiledMethod.
class SmallTalkMethod {
    String itsClass;
    String selector;
    String body;
    public SmallTalkMethod(String itsClass, BufferedReader reader) throws Exception{
        this.itsClass = itsClass;
        selector = reader.readLine().trim();
        body = "";
        do
            body = body + reader.readLine().trim() + "\n";
        while(body.indexOf("%") == -1);
    }
}